﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gnosis.Babel;

namespace Gnosis.SQLite.Clauses
{
    public class RegExp
        : Function
    {
        public RegExp(IExpression expression1, IExpression expression2)
            : base("regexp", new List<IExpression>{expression1, expression2})
        {
        }

        public RegExp(IExpression expression1, IExpression expression2, Escape escape)
            : base("regexp", new List<IExpression>{expression1, expression2, escape})
        {

        }
    }
}
